import request from '../utils/axios';
import qs from "qs";

//通知数据
export function salaryData(param) {
    return request({
        url: '/salary?' + qs.stringify(param),
        method: 'get',
    })
}

export function add() {
    return request({
        url: '/salary/add',
        method: 'post',
    })
}

export function batchDelete(ids) {
    return request({
        url: '/salary/delete?ids=' + ids,
        method: 'delete',
    })
}
// 导出岗位
export function exportSalary() {
    return request({
        url: '/salary/export',
        method: 'get',
        procgress: true,
        responseType: 'blob'
    })
}


